package com.itheima.mapper;

import com.itheima.pojo.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Name StudentMapper
 * @Author BaiXin
 * @Date 2022-10-21 19:26
 */
public interface StudentMapper {
    /**
     * 查询所有
     * @return
     */
    @Select("select * from t_student")
    List<Student> findAll();
}
